package com.zhdl.network.service;

/**
 * 串口-pcb信号指令
 */
public interface PcbService extends BaseInstructionService {

    /**
     * 发送指令 - 参考模板
     */
    void sendCmd();

    /**
     * 发送指令 - 灵活
     */
    void sendCmd(String cmd);

    /**
     * 读取pcb所有信息
     */
    void pcbReadInfo(int readBitNumber);

    void ioReadDiscreteSignal();

    void ioReadCoilSignal();

    void ioWriteCoilSignal(int address, String open);

    void ioWriteDoubleCoilSignal(int address, boolean open);

    /**
     * 写入pcb信号
     */

    void pcbWriteInfo(int address, String open);
}
